/*!
Theme Name: Fairfield University Computer Science
Author: zhexiao
Description: Fairfield University Wordpress theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
*/
$screen-lg-min: 1200px;
$screen-md-min: 992px;
$screen-sm-min: 768px;

@mixin css3($property, $value) {
    -webkit-#{$property}: $value;
    -moz-#{$property}: $value;
    -ms-#{$property}: $value;
    -o-#{$property}: $value;
    #{$property}: $value;
}

input{
	border-radius: 0!important;
}

.top-header{
    background: rgba(250,250,250,0.8);
	img{
		width: 260px;
    	height: 90px;
	}
	
	.top-header-2{
		padding:10px;
		input{width:50%;}
		.input-group-addon{background-color:#7a1632;color:#fff;}
	}
}

.main-nav{
    float: none;
    height: 50px;
    border: 0;
    background: #62462d;
    clear: both;
    box-shadow: 0 -2px rgba(0,0,0,0.5) inset;
    border-radius: 0;
    margin-bottom:0;
	
	.header-nav-ul{
		height: 50px;
    	float: left;
    	
    	li{
		    height: 50px;
		    float: left;
		    position: relative;
		    list-style-type: none;
		    
		    a{
			    height: 100%;
			    float: left;
			    font-size: 14px;
			    font-weight: bold;
			    color: #fff;
			    text-transform: uppercase;
			    text-decoration: none;
			    padding: 16px 15px 0 15px;
		    }
    	}
    	
    	li.current-menu-item a {
		    color: #fff;
		    background: rgba(0,0,0,0.5);
		    margin: -2px 0 0 0;
		    padding-top: 18px;
		    box-shadow: 1px 0 rgba(0,0,0,0.7);
		}
	}   
}

#panel-tabs {
    width: 100%;
    z-index: 200;
    height: 20px;
    background: #7a1632;
    box-shadow: 0 -2px 3px rgba(0,0,0,0.2);
}

.top-slider{
    .metaslider img{
        height:400px;
    }
}

.main-content{
	margin-top:40px;	
}

.right-sidebar{
	.media-left{
		padding:10px;
		
		a{
		    border-radius: 50%;
		    text-align: center;
		    width: 80px;
		    line-height: 80px;
		    height: 80px;
		    font-size: 40px;
		    border: 3px solid #fff;
		    box-shadow: 0 0 0 2px #dadada;
		    display: inline-block;
		    @include css3(transition, all 0.2s ease-in-out);
		    background: #dadada;
		    color:#fff;
		    
		    &:hover{
		    	background-color:#9f304f;
		    	box-shadow: 0 0 0 2px #9f304f;
		    	
		    }
    	}
	}
	
	
	.media-heading{
		padding:15px 10px 0px;
	}
	
	.media-body{
		div{
			padding: 0px 10px;
		}
	}
}

.left-sidebar{
	.title{
		color:#62462d;
	}
	.welcome-img{
		width:100%;
		height:250px;	
	}
	.fu-desc{
		font-weight:normal;
		font-size:16px;
		line-height: 1.4;
	}
	
	.fu-learn-more{
		font-size: 16px;
	    text-transform: uppercase;
	    color: #222;
	    text-decoration: none;
	    font-weight: bold;
	    color:#7a1632;
	}
	
	.widget-title{
		background-color: #6e5137;
	    background-image: linear-gradient(top, #6e5137, #62462d);
	    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6e5137), to(#62462d));
	    background-image: -webkit-linear-gradient(top, #6e5137, #62462d);
	    background-image: -moz-linear-gradient(top, #6e5137, #62462d);
	    background-image: -ms-linear-gradient(top, #6e5137, #62462d);
	    background-image: -o-linear-gradient(top, #6e5137, #62462d);
	    padding: 12px 20px;
	    font-size: 16px;
	    color: #fff;
	    text-transform: uppercase;
	    font-weight: normal;
	    border-bottom: 1px solid #fff;
	    margin: 0 0 20px 0;
	}
	
	.main-news{
		margin-top:40px;
	}
	
	.mr-program-box{
		padding:10px;
		
		img{
			width:150px;
			height:150px;
		}
	}
}

.img-bg{
	position:relative;
	text-align:center;
	margin:20px 0;
	img{height:300px;width:100%;opacity:0.5;}
	h2{position:absolute;top:20px;left:50px;color:#fff;}
}

footer{
    background-color: #62462d;
    padding: 20px;
    display: block;
    color: #fff;

    small, .footer-social{
        margin-top: 5px;
    }

    .fa{
        display: inline-block;
        background: #775d45;
        color: #ddd;
        font-size: 12px;
        text-decoration: none;
        width: 26px;
        height: 26px;
        line-height: 26px;
        text-align: center;
        margin-right: 10px;
        cursor: pointer;
        @include css3(transition, all .6s ease-in-out);

        &:hover{
            text-decoration: none;
            background: #b93434;
        }
    }
}

#tribe-events-content-wrapper{
	.tribe-bar-submit input[type=submit]{
		background-color:#7a1632;
		
		&:hover{
			background-color:#8a062b;
		}
	}
	
	.tribe-events-calendar thead th{
		background-color:#9e724b;
	}	
}

.page-news-title{
	padding:0 20px;
	font-style:italic;
	text-transform: uppercase;
}

.post-item{
    .individual-post{
    	font-size:16px;
        border-bottom: 1px solid #ccc;
        background: #fff;
        margin-bottom: 30px;
        padding-bottom:20px;
        @include css3(box-shadow, 0px 1px 3px rgba(0,0,0,0.13));
        @include css3(transition, all 0.6s);
        a{
            color: #333;
            @include css3(transition, all 0.6s);
        }

        &:hover{
            a{
                color: #96281B;
            }

            .category{
                a{
                    color:#fff;
                }
            }

            .tag-meta{
                a{
                    color:#3A539B;
                }
            }
        }

        .top-wrap{
            h3{
                margin:0;
                font-size: 23px;
                font-weight: normal;
                padding:15px 25px;
            }

            .post-meta{
                padding:0px 25px 10px;
                font-size: 13px;
            }
        }

        .post-content{
            padding:20px 25px;
            position:relative;
            word-break: break-all;
            word-wrap: break-word;

            img{
                max-width: 100%;
            }
        }
    }

    .category{
        padding: 0 25px 10px;

        a {
            display: inline-block;
            padding: 1px 6px;
            font-size: 11px;
            color: #fff;
            background: #009eed;
            text-decoration:none;

            &:hover{
                color: #222!important;
            }
        }

        .fa{
            position:relative;
            top:2px;
        }
    }

    .tag-meta{
        padding:10px 25px;

        .fa{
            color:#666;
            position:relative;
            top:2px;
        }

        a{
            font-size: 10px;
            margin-right:5px;
            display: inline-block;
            padding: 1px 6px;
            background: #FDE3A7;
            color: #3A539B;
        }
    }

    .edit-page-wrap{
        padding:10px 25px;
    }
}

.share-wrap{
    a{
        display: inline-block;
        background: #161616;
        color: #fff!important;
        font-size: 12px;
        width: 20px;
        line-height: 20px;
        text-align: center;
        margin-right: 5px;
        text-decoration:none;

        &:hover{
            color:#BDC3C7!important;
        }

        &.fa-facebook {
            background: #204385;
        }

        &.fa-twitter {
            background: #2aa9e0;
        }

        &.fa-linkedin {
            background: #02669a;
        }

        &.fa-google-plus {
            background: #d3492c;
        }
    }
}

.content-page-wrap{
    background: #fff;
    padding: 40px 20px;

    .page-category{
        a{
            color:#fff;
            @include css3(transition, all 0.8s);
            text-decoration:none;
            padding: 3px 10px;
            font-size: 13px;
            background: #009eed;

            &:hover{
                color: #222;
            }
        }
    }

    .page-userinfo{
        margin-bottom:20px;

        .media-left{
            img{
                @include css3(border-radius, 50%);
            }
        }

        .media-heading{
            a{
                color:#444444;
                text-decoration:none;
                @include css3(transition, all 0.6s);

                &:hover{
                    color: #009eed;
                }
            }
        }

        .page-userinfo-time{
            font-size:13px;
            margin-right:20px;
        }

        .comment-count{
            display: inline-block;
            font-weight: 700;
            margin-right: 12px;

            a, span{
                text-decoration:none;
                color: #009eed;
            }
        }

        .view-count{
            display: inline-block;
            font-weight: 700;
            color: #dd9933;
        }
    }

    .page-share{
        a{
            text-align: center;
            color: #fff;
            text-decoration: none;
            font-size: 18px;
            display: inline-block;
            width: 100px;
            height: 30px;
            line-height: 30px;
            @include css3(transition, all 0.6s);
            margin-bottom:5px;

            &.fa-facebook {
                background: #204385;
            }

            &.fa-twitter {
                background: #2aa9e0;
            }

            &.fa-linkedin {
                background: #02669a;
            }

            &.fa-google-plus {
                background: #d3492c;
            }

            &.fa-print{
                background:#674172;
            }

            &:hover{
                opacity:0.85;
            }
        }
    }

    .page-content{
        margin:20px 0;
        line-height:1.7;
        
        img{
        	max-width:100%;
        }
    }

    .page-tags{
        margin:20px 0 40px;

        .fa{
            color:#666;
            position:relative;
            top:1px;
        }

        a{
            color:#2b2b2b;
            text-decoration:none;
            padding: 1px 8px;
            font-size: 12px;
            background: #FDE3A7;

            &:hover{
                text-decoration:underline;
            }
        }
    }

    .page-pre-next{
        margin-top:20px;
        margin-bottom:30px;
        text-align:left;

        .nav-previous, .nav-next{
            width:49%;
        }

        .label{
            display: block;
            font-size: 12px;
            font-weight: 400;
            text-transform: uppercase;
            color: #666;
            padding: 10px 0;
            text-align: left;
        }

        a{
            display: block;
            font-size: 24px;
            font-weight:400;
            text-transform: uppercase;
            line-height: 1.5;
            margin-top: 5px;
            @include css3(transition, all 0.6s);
            text-decoration:none;
            color:#009eed;

            &:hover{
                color:#444;
            }
        }
    }

    .page-comments{
        margin-top:30px;
        .comment-reply-title{
            font-size: 20px;
        }
        
        li{
        	list-style-type:none;
        }

        .comment-notes{
            margin-bottom: 26px;
            margin-top: 0px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .required{
            color: #009eed;
        }

        label{
            margin-bottom:10px;
            font-weight:500;
            font-size:16px;
        }

        .comment-form-comment{
            margin-bottom: 10px;
        }

        input[type=text]{
            width: 100%;
            margin-top: 3px;
            color: #777;
            border: none;
            border-bottom: 1px solid #e2e2e2;
            padding: 15px 0px;
            @include css3(transition, all 0.4s);
            font-size:14px;

            &:focus{
                border-color: #009eed;
                outline: 0;
                background: #f9f9f9;
                padding: 15px 20px;
            }
        }

        .form-submit{
            margin-top:30px;
        }

        input[type='submit'], button {
            display: inline-block;
            background-color: #009eed;
            border: none;
            border-color: #009eed;
            color: #fff;
            font-size: 11px;
            font-weight: 400;
            line-height: 1;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 18px 24px;
            text-align: center;
            border-radius: 2px;
            @include css3(transition, all 0.4s);

            &:hover{
                background-color: #2b2b2b;
            }
        }

        textarea{
            width: 100%;
            height: 160px;
            margin-top: 3px;
            color: #777;
            border: none;
            border-bottom: 1px solid #e2e2e2;
            @include css3(transition, all 0.4s);

            &:focus{
                border-color: #009eed;
                outline: 0;
                background: #f9f9f9;
                padding: 15px 20px;
            }
        }

        #comments{
            font-size: 20px;
        }

        .comment-body{
            position:relative;
            padding:10px;
            @include css3(transition, all 0.6s);


            &:hover{
                background-color:#f1f1f1;
            }
        }

        .commentlist{
            margin-bottom:30px;
            padding:0;

            .comment{
                padding:10px 0;
                border-bottom:1px solid #eee;
            }

            .children{
                .comment{
                    border-bottom:none;
                }
            }

            .comment-author{
                img{
                    height:40px;
                    width:40px;
                    border-radius:50%;
                    margin-right:5px;
                }
            }

            .commentmetadata{
                margin-bottom:10px;
                a{
                    color:#333;
                    font-size:12px;
                    text-decoration:none;
                    position: absolute;
                    right: 10px;
                    bottom: 10px;
                }

                .comment-edit-link{
                    bottom:30px;
                }
            }

            .comment-reply-link{
                display: inline-block;
                padding: 2px 7px;
                font-size: 12px;
                font-weight: 400;
                line-height: 1.42857143;
                text-align: center;
                white-space: nowrap;
                vertical-align: middle;
                touch-action: manipulation;
                border: 1px solid transparent;
                color: #333;
                background-color: #fff;
                border-color: #ccc;
                text-decoration: none;
                border-radius: 3px;
                &:hover{
                    color: #333;
                    background-color: #e6e6e6;
                    border-color: #adadad;
                }
            }
        }
    }
}


.pagination{
    .screen-reader-text{ display: none }

    .nav-links{
        .page-numbers{
            padding: 8px 15px;
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #d0d0d0;
            margin-right: -5px;
            color: #555;

            &.current{
                background-color: #337ab7;
                border-color: #337ab7;
                color: #fff;
                cursor: default;
            }
        }


        a:hover{
            background-color: #eee;
            border-color: #ddd;
        }

        .page-numbers:first-child{
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        .page-numbers:last-child{
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }
    }
}

.search-group{
	position:relative;
	
	.search-submit{
		    position: absolute;
    width: 70px!important;
	}
}


/* phone devices */
@media screen and  (max-width: $screen-sm-min) {
  
}
